/**
 * 
 */
package com.wubo.sec.util;

/**
 * @author wubo
 * @CreateDate 2010-8-5
 * @version 1.0.01
 */
public class PageUtil {

	public static int totalPage(int records, int limit){
		return records / limit + (records % limit == 0 ? 0 : 1);
	}
}
